package com.example.factory.api.dto.form;

import com.example.factory.api.dto.PagingRequest;
import com.example.factory.core.repository.query.UserListQueryParams;

/**
 * @author Lei Tao
 */
public class DtoQueryUserListForm extends PagingRequest implements UserListQueryParams {

    private String name;

    private String departmentName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Override
    public String name() {
        return this.name;
    }

    @Override
    public String departmentName() {
        return this.departmentName;
    }
}
